package org.zh.home.service.impl;

import javax.inject.Inject;

import org.springframework.stereotype.Service;
import org.zh.home.dao.IUserDao;
import org.zh.home.entity.User;
import org.zh.home.service.IUserService;

@Service
public class UserService implements IUserService {
	private IUserDao userDao;
	
	@Inject
	public IUserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(IUserDao userDao) {
		this.userDao = userDao;
	}

	@Override
	public User login(String username, String password) {
		return null;
	}

	@Override
	public void regist(User user) {
		
	}
}
